import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

public class IODemo11 {
    public static void main(String[] args) throws IOException {
        try(OutputStream outputStream = new FileOutputStream("./aaa/222/test.txt")){
            outputStream.write(97);
            outputStream.write(98);
            outputStream.write(99);
            outputStream.write(97);
            outputStream.write(98);
            outputStream.write(99);
            outputStream.write(97);
            outputStream.write(98);
        }
    }
}
